.data
    str1: .asciiz "Digite o lado 1:"
.text
.globl main.

calculoMult:
    subu $sp, $sp, 8
    sw $ra, 4($sp)
    move $t0, $a0
    mul $t0, $a0, 17
    move $v0, $t0
    add $sp, $sp, 8
    jr $ra

calculoSoma:
    subu $sp, $sp, 8
    sw $ra, 4($sp)
    move $t0, $a0
    add $t0, $a0, 10
    move $v0, $t0
    add $sp, $sp, 8
    jr $ra

main:
    li $v0, 4
    la $a0, str1
    syscall
    li $v0, 5
    syscall
    addi $a0, $v0, 0
    jal calculoMult
    addi $a0, $v0, 0
    li $v0, 1
    syscall
    li $v0, 10
    syscall
    move $v0, $t0
    add $sp, $sp, 8
    jr $ra
